AUTOMAKE_OPTIONS=	foreign

BUILT_SOURCES=	test.texi 
run_ag=		cd $(srcdir) && autogen -L . --writable

$(srcdir)/test.texi: $(srcdir)/mdoc2texi_test.def $(srcdir)/agtest.tpl
	$(run_ag) -Tagtest.tpl mdoc2texi_test.def
